package com.wss.merchant.controller;


import com.wss.merchant.domain.CommonResult;
import com.wss.merchant.service.DlNewShopOrderThirdService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;


import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品订单订单表 前端控制器
 * </p>
 *
 * @author wss
 * @since 2021-03-09
 */
@Slf4j
@Controller
@RequestMapping("/third")
public class DlNewShopOrderThirdController {
    @Autowired
    private DlNewShopOrderThirdService dlNewShopOrderThirdService;

    @RequestMapping("/getThird")
    @ResponseBody
    public CommonResult getList(@RequestBody Map<String,Integer> map){
        List<Map> third = dlNewShopOrderThirdService.getThird(map);
        return new CommonResult(200,"请求成功",third);
   }

}

